﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MysqlCoreDemo
{
    [Table(nameof(Data))]
    public class Data
    {
        /// <summary>
        ///   id
        /// </summary>
        [Key]                                      //主键
        public int Id { get; set; }
        /// <summary>
        ///     内容
        /// </summary>
        public string Text { get; set; }
    }
}
